package com.lianbang.staff.dialog

import android.os.Bundle
import android.view.View
import cn.ubest.mvvmcore.base.BaseDialogFragment
import cn.ubest.mvvmcore.utils.ResourcesUtils
import com.lianbang.staff.R
import com.lianbang.staff.databinding.DialogFindPasswordBinding
import kotlinx.android.synthetic.main.dialog_find_password.*

/**
 * Created by maoqi on 2021/1/12.
 */
class FindPasswordDialog : BaseDialogFragment<DialogFindPasswordBinding>() {

    companion object {
        fun newInstance(): FindPasswordDialog {
            return FindPasswordDialog()
        }
    }

    override fun initLayout(): Int {
        return R.layout.dialog_find_password
    }

    override fun initData(arguments: Bundle?) {
    }

    override fun initView(view: View) {
        setWidth(ResourcesUtils.getDimens(R.dimen.dp_260))
        btn_submit.setOnClickListener {
            activity?.finish()
        }
    }

    override fun loadData() {
    }

}